/**
 * output package name
 */
package com.kingdee.eas.basedata.master.cssp;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class CustomerKindEnum extends StringEnum
{
    public static final String COMMON_VALUE = "-1";
    public static final String DEALER_VALUE = "0";
    public static final String AGENT_VALUE = "1";

    public static final CustomerKindEnum COMMON = new CustomerKindEnum("COMMON", COMMON_VALUE);
    public static final CustomerKindEnum DEALER = new CustomerKindEnum("DEALER", DEALER_VALUE);
    public static final CustomerKindEnum AGENT = new CustomerKindEnum("AGENT", AGENT_VALUE);

    /**
     * construct function
     * @param String customerKindEnum
     */
    private CustomerKindEnum(String name, String customerKindEnum)
    {
        super(name, customerKindEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static CustomerKindEnum getEnum(String customerKindEnum)
    {
        return (CustomerKindEnum)getEnum(CustomerKindEnum.class, customerKindEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(CustomerKindEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(CustomerKindEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(CustomerKindEnum.class);
    }
}